//-----------------------------------------------------------------------
// <copyright file="CodeWalkerNodeVisitor.cs" company="None">
//     Copyright (c) 2009-2012
// </copyright>
//-----------------------------------------------------------------------
namespace CleanCode.StyleCopCustomRules
{
    using StyleCop;
    using StyleCop.CSharp;

    /// <summary>
    /// Delegate for a callback executed when a node is visited. 
    /// </summary>
    /// <typeparam name="TContext">The type of the visitor context data.</typeparam>
    /// <param name="element">The element being visited.</param>
    /// <param name="node">The node being visited.</param>
    /// <param name="context">The optional visitor context data.</param>
    public delegate void CodeWalkerNodeVisitor<TContext>(
        ICodeElement element,
        Node<CsToken> node,
        TContext context);
}